package com.lianjia.sh.se.esb.server;

import com.dooioo.dymq.common.ActiveMqConfig;
import com.lianjia.sh.se.esb.client.config.ClientConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration;

/**
 * fy esb server
 *
 * @author yangjiangping
 * @since 2016-07-19 10:16:00
 */
@EnableEurekaClient
@SpringBootApplication(exclude = {JmsAutoConfiguration.class, ProxyTransactionManagementConfiguration.class})
@Import({ClientConfig.class, ActiveMqConfig.class})
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
